﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MyIdolUIFrameWork;
using UnityEngine.UI;

public class UIAwardWords : UIScene 
{
    public static UIAwardWords Instance;

    private UISceneWidget cancelAwardWords;

    public Text award_text;

    void Awake()
    {
        Instance = this;
    }

    protected override void Start()
    {
        base.Start();
        InitWeight();
    }

    private void InitWeight()
    {
        cancelAwardWords = GetWidget("Cancel");
        cancelAwardWords.onClick += CancelAwardWordsClick;

    }

    private void CancelAwardWordsClick()
    {
        SetVisible(false);
        GameState.judgeRemoveAd = true;
    }
}
